package example.chapter12.set;

import com.opensymphony.xwork2.ActionSupport;

import example.chapter12.model.User;

public class SetTagAction extends ActionSupport{
	private User user = new User();
	
	public String execute() throws Exception{
		user.setFirstName("Struts2");
		user.setLastName("Apache");
		return SUCCESS;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}
}
